(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[9],{"3Ddu":function(e,t,n){"use strict";function r(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return a("i18n.languages were undefined or empty",t.languages),!0;var r=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var u=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!u(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||(!t.services.backendConnector.backend||!(!u(r,e)||o&&!u(i,e))))}function c(e){return e.displayName||e.name||("string"===typeof e&&e.length>0?e:"Unknown")}},"9Koi":function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("J4zp"),o=n.n(r),a=n("lSNA"),i=n.n(a),u=n("q1tI"),c=n("QSL9"),s=n("3Ddu");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=Object(u.useContext)(c.a)||{},a=r.i18n,i=r.defaultNS,f=n||a||Object(c.e)();if(f&&!f.reportNamespaces&&(f.reportNamespaces=new c.b),!f){Object(s.e)("You will need to pass in an i18next instance by using initReactI18next");var p=function(e){return Array.isArray(e)?e[e.length-1]:e},d=[p,{},!1];return d.t=p,d.i18n={},d.ready=!1,d}f.options.react&&void 0!==f.options.react.wait&&Object(s.e)("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var g=l(l(l({},Object(c.d)()),f.options.react),t),b=g.useSuspense,y=g.keyPrefix,v=e||i||f.options&&f.options.defaultNS;v="string"===typeof v?[v]:v||["translation"],f.reportNamespaces.addUsedNamespaces&&f.reportNamespaces.addUsedNamespaces(v);var h=(f.isInitialized||f.initializedStoreOnce)&&v.every((function(e){return Object(s.b)(e,f,g)}));function O(){return f.getFixedT(null,"fallback"===g.nsMode?v:v[0],y)}var m=Object(u.useState)(O),w=o()(m,2),x=w[0],j=w[1],P=Object(u.useRef)(!0);Object(u.useEffect)((function(){var e=g.bindI18n,t=g.bindI18nStore;function n(){P.current&&j(O)}return P.current=!0,h||b||Object(s.c)(f,v,(function(){P.current&&j(O)})),e&&f&&f.on(e,n),t&&f&&f.store.on(t,n),function(){P.current=!1,e&&f&&e.split(" ").forEach((function(e){return f.off(e,n)})),t&&f&&t.split(" ").forEach((function(e){return f.store.off(e,n)}))}}),[f,v.join()]);var N=Object(u.useRef)(!0);Object(u.useEffect)((function(){P.current&&!N.current&&j(O),N.current=!1}),[f]);var E=[x,f,h];if(E.t=x,E.i18n=f,E.ready=h,h)return E;if(!h&&!b)return E;throw new Promise((function(e){Object(s.c)(f,v,(function(){e()}))}))}},J4zp:function(e,t,n){var r=n("wTVA"),o=n("m0LI"),a=n("ZhPi"),i=n("wkBT");e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},QSL9:function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"h",(function(){return b})),n.d(t,"d",(function(){return y})),n.d(t,"b",(function(){return v})),n.d(t,"i",(function(){return h})),n.d(t,"e",(function(){return O})),n.d(t,"g",(function(){return m})),n.d(t,"c",(function(){return w})),n.d(t,"f",(function(){return x}));var r=n("lwsE"),o=n.n(r),a=n("W8MJ"),i=n.n(a),u=n("lSNA"),c=n.n(u),s=n("q1tI");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};d=l(l({},d),e)}function y(){return d}var v=function(){function e(){o()(this,e),this.usedNamespaces={}}return i()(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function h(e){p=e}function O(){return p}var m={type:"3rdParty",init:function(e){b(e.options.react),h(e)}};function w(e){return function(t){return new Promise((function(n){var r=x();e.getInitialProps?e.getInitialProps(t).then((function(e){n(l(l({},e),r))})):n(r)}))}}function x(){var e=O(),t=e.reportNamespaces?e.reportNamespaces.getUsedNamespaces():[],n={},r={};return e.languages.forEach((function(n){r[n]={},t.forEach((function(t){r[n][t]=e.getResourceBundle(n,t)||{}}))})),n.initialI18nStore=r,n.initialLanguage=e.language,n}},W8MJ:function(e,t){function n(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0)&&(a.unobserve(e.target),s.delete(e.target),t())}}))}),{rootMargin:"200px"}):void 0);return n?(n.observe(e),s.set(e,t),function(){try{n.unobserve(e)}catch(t){console.error(t)}s.delete(e)}):function(){}};function d(e,t,n,r){(0,u.isLocalURL)(t)&&(e.prefetch(t,n,r).catch((function(e){0})),l[t+"%"+n]=!0)}var g=function(e){var t=!1!==e.prefetch,n=i.default.useState(),o=r(n,2),a=o[0],s=o[1],g=(0,c.useRouter)(),b=g&&g.pathname||"/",y=i.default.useMemo((function(){var t=(0,u.resolveHref)(b,e.href,!0),n=r(t,2),o=n[0],a=n[1];return{href:o,as:e.as?(0,u.resolveHref)(b,e.as):a||o}}),[b,e.href,e.as]),v=y.href,h=y.as;i.default.useEffect((function(){if(t&&f&&a&&a.tagName&&(0,u.isLocalURL)(v)&&!l[v+"%"+h])return p(a,(function(){d(g,v,h)}))}),[t,a,v,h,g]);var O=e.children,m=e.replace,w=e.shallow,x=e.scroll;"string"===typeof O&&(O=i.default.createElement("a",null,O));var j=i.Children.only(O),P={ref:function(e){e&&s(e),j&&"object"===typeof j&&j.ref&&("function"===typeof j.ref?j.ref(e):"object"===typeof j.ref&&(j.ref.current=e))},onClick:function(e){j.props&&"function"===typeof j.props.onClick&&j.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,a,i){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,u.isLocalURL)(n))&&(e.preventDefault(),null==i&&(i=r.indexOf("#")<0),t[o?"replace":"push"](n,r,{shallow:a}).then((function(e){e&&i&&(window.scrollTo(0,0),document.body.focus())})))}(e,g,v,h,m,w,x)}};return t&&(P.onMouseEnter=function(e){(0,u.isLocalURL)(v)&&(j.props&&"function"===typeof j.props.onMouseEnter&&j.props.onMouseEnter(e),d(g,v,h,{priority:!0}))}),(e.passHref||"a"===j.type&&!("href"in j.props))&&(P.href=(0,u.addBasePath)((0,u.addLocale)(h,g&&g.locale,g&&g.defaultLocale))),i.default.cloneElement(j,P)};t.default=g},lSNA:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},lwsE:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},m0LI:function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(c){u=!0,o=c}finally{try{i||null==n.return||n.return()}finally{if(u)throw o}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},wTVA:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},wkBT:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}}]);